package pers.jg.rrsserver.entity

import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table
import java.sql.Timestamp
import java.time.Instant

@Entity
@Table(name = "consult_a")
open class ConsultA {
    @Id
    @Column(name = "id", nullable = false, length = 45)
    open var id: String? = null

    @Column(name = "q_id", length = 45)
    open var qId: String? = null

    @Column(name = "content", length = 45)
    open var content: String? = null

    @Column(name = "user")
    open var user: Int? = null

    @Column(name = "date")
    open var date: Timestamp? = null
}